import request from '@/utils/request'

export function getCandles(data = { instId: 'ETH-USD' }) {
  return request({
    // baseURL: 'https://www.okex.com/api/v5',
    url: '/api/v5/market/index-candles',
    method: 'get',
    params: data
  })
}
